-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
3.2.2
-
Code
-
Classes
- Wpcom_Products
Total Complexity |
26 |
Dependencies |
4 |
Dependents |
16 |
Total lines |
257 |
Lines of code |
139 |
Logical lines of code |
72 |
Comment lines |
78 |
Methods |
9 |
Properties |
0 |
Methods 9
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_products() |
S |
57 |
6 |
19 |
get_site_current_purchases() |
S |
52 |
4 |
25 |
get_products_from_wpcom() |
S |
48 |
3 |
36 |
populate_with_discount() |
S |
58 |
4 |
15 |
get_product_pricing() |
S |
53 |
3 |
24 |
is_cache_old() |
S |
67 |
2 |
7 |
get_product() |
S |
70 |
2 |
6 |
update_cache() |
S |
74 |
1 |
4 |
get_products_from_cache() |
S |
78 |
1 |
3 |